package com.desktop.entity;

/**
 * @author 粥灰灰
 * @created 2022/2/3
 * @version 1.0
 * @Description 用于描述挂件的实体类
 */
public class Pet {
    private String prefix = null;
    private String petName = null;
    private String fileType = null;
    private int start = 0;
    private int end = 0;

    public Pet() {
    }

    public Pet(String prefix, String petName, String fileType, int start, int end) {
        this.prefix = prefix;
        this.petName = petName;
        this.fileType = fileType;
        this.start = start;
        this.end = end;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    public String getPetName() {
        return petName;
    }

    public void setPetName(String petName) {
        this.petName = petName;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "prefix='" + prefix + '\'' +
                ", petName='" + petName + '\'' +
                ", fileType='" + fileType + '\'' +
                ", start=" + start +
                ", end=" + end +
                '}';
    }
}
